package com.springboot.dao;

import com.springboot.entity.Admin;
import com.springboot.entity.History;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface AdminMapper extends Mapper<Admin> {
    @Delete("delete from admin where aid=#{aid}")
    int deleteAdmin(long aid);
}
